<table>
  <tr>  
		<th>Application Name</th>
		<th>Closes On</th>
		<th>Notifies On</th>
		<th>Status</th>  
	  <th>Score</th>
		<th>Actions</th>
  </tr>

<% for judgment in @judgments %>
	<tr>  
		<td><%= judgment.submission.cycle.name %></td>
		<td><%= judgment.submission.cycle.close_on %></td>   
		<td><%= judgment.submission.cycle.notify_on %></td>   
		<td><%= judgment.submission.status.name %></td>   
		<td><%= judgment.score %></td>
		
		<td>
			<%= link_to "Judge Application", :controller => "judgment", :action => "edit", :id => judgment %>	
			<%= link_to "Complete", :controller => "judgment", :action => "complete", :id => judgment %>	
    </td>
	</tr>

<% end %>
</table>  

<%= link_to 'Previous page', { :page => @judgment_pages.current.previous } if @judgment_pages.current.previous %>
<%= link_to 'Next page', { :page => @judgment_pages.current.next } if @judgment_pages.current.next %> 
